// import 'package:flutter_test/flutter_test.dart';
// import 'package:ble2318ota_plugin/ble2318ota_plugin.dart';
// import 'package:ble2318ota_plugin/ble2318ota_plugin_platform_interface.dart';
// import 'package:ble2318ota_plugin/ble2318ota_plugin_method_channel.dart';
// import 'package:plugin_platform_interface/plugin_platform_interface.dart';
//
// class MockBle2318otaPluginPlatform
//     with MockPlatformInterfaceMixin
//     implements Ble2318otaPluginPlatform {
//
//   @override
//   Future<String?> getPlatformVersion() => Future.value('42');
// }
//
// void main() {
//   final Ble2318otaPluginPlatform initialPlatform = Ble2318otaPluginPlatform.instance;
//
//   test('$MethodChannelBle2318otaPlugin is the default instance', () {
//     expect(initialPlatform, isInstanceOf<MethodChannelBle2318otaPlugin>());
//   });
//
//   test('getPlatformVersion', () async {
//     Ble2318otaPlugin ble2318otaPlugin = Ble2318otaPlugin();
//     MockBle2318otaPluginPlatform fakePlatform = MockBle2318otaPluginPlatform();
//     Ble2318otaPluginPlatform.instance = fakePlatform;
//
//     expect(await ble2318otaPlugin.getPlatformVersion(), '42');
//   });
// }
